import request from '@/utils/request'

export function getTagList() {
    return request({
        url: '/web/tag/list',
        method: 'get'
    })
}
export function getArticleListByTagId(tagId) {
    return request({
        url: '/web/tag/article-list',
        method: 'get',
        params: tagId
    })
}

export function getArticleHotListByTagId(tagId) {
    return request({
        url: '/web/tag/article-hot?tagId=7',
        method: 'get',
    })
}